package cn.house.service;

import cn.house.dao.UserDao;
import cn.house.dao.UserDaoImpl;
import cn.house.entity.User;

public class UserServiceImpl implements UserService {

	UserDao userDao = new UserDaoImpl();

	@Override
	public User login(String name, String password) {
		return userDao.login(name, password);

	}

}
